import { IParam } from '../../common';
import { ITreeAbility } from '../ability';
import { ITreeStore } from '../store';
import { IMDCtrlControllerBase } from './i-md-ctrl-controller-base';

/**
 * 树部件控制器接口
 *
 * @export
 * @interface ITreeController
 * @extends {IMDExCtrlController}
 */
export interface ITreeController<S extends ITreeStore, A extends ITreeAbility>
	extends IMDCtrlControllerBase<S, A> {
	/**
	 * 处理值改变
	 *
	 * @param {IParam} node
	 * @memberof ITreeController
	 */
	handleValueChange(node: IParam): void;
}
